package com.biostime.dingdingbox.modules.db.entity;

import com.biostime.dingdingbox.common.persistence.DataEntity;

/**
 * 视频表Entity
 * @author chenweicheng
 * @version 2016-07-01
 */
public class Video extends DataEntity<Video> {

	private static final long serialVersionUID = 1L;
	
	private int boxId;// 玩具盒主键编号
	private String name;// 名称
	private String url;// 链接
	private String unit;// 单位
	private String format;// 格式
	private double size;// 大小
	private Box box;//玩具盒
	public int getBoxId() {
		return boxId;
	}
	public void setBoxId(int boxId) {
		this.boxId = boxId;
	}
	public String getName() {
		return name;
	}
	public void setName(String name) {
		this.name = name;
	}
	public String getUrl() {
		return url;
	}
	public void setUrl(String url) {
		this.url = url;
	}
	public String getUnit() {
		return unit;
	}
	public void setUnit(String unit) {
		this.unit = unit;
	}
	public String getFormat() {
		return format;
	}
	public void setFormat(String format) {
		this.format = format;
	}
	public double getSize() {
		return size;
	}
	public void setSize(double size) {
		this.size = size;
	}
	public Video(){
		super();
	}
	public Video(String id){
		super("id");
	}
	public Box getBox() {
		return box;
	}
	public void setBox(Box box) {
		this.box = box;
	}
	
}